import VueRouter from 'vue-router'
import login from './components/Login.vue'
import admin from './components/Admin.vue'

let routerobj = new VueRouter({
  routes: [
    {path:"/",redirect:"/login"},
    { path: "/login", component: login },
    {path:"/admin/:role_id",component:admin}
    ],
    linkActiveClass:''
});

export default routerobj
